import wx
#import wx.grid as gridlib
 
########################################################################
class DataFlicksGUI(wx.Frame):
    """"""
    
    #----- -----------------------------------------------------------------
    def __init__(self):
        # Here we are creating Grid
        wx.Frame.__init__(self, parent=None, title="Dataflicks client")        
    
    def CreateGridControl(self):
        print("Grid will be created here Default 20 rows and 5 column")        
    
    def ParseDataAndAddToGrid(self,DataToParse):
        print("Here we will parse XML data and then push into Grid")
      
    def EventHandlerToDoubleClick(self,RowClicked):
        print("Double click event will be handle here")
    
    def showConnectedStatus(self,Status):
         if(1):
            print("Connected to www.Dataflicks.com")
         else:
            print("Disconnected with www.Dataflicks.com")        
   
 
if __name__ == "__main__":
    app = wx.PySimpleApp()
    ObDFGUI = DataFlicksGUI()
    frame = ObDFGUI.Show()    
    app.MainLoop()
    